{% load sidebar %}
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head profile="http://gmpg.org/xfn/11">
	<meta http-equiv="content-type" content="text/html;charset=utf-8" />
	<title>{% block title %} {{ blog.title|escape}}{% endblock %}</title>
	<link rel="shortcut icon" href="/static/favicon.ico" />
	<link rel="alternate" type="application/atom+xml" title="{{ blog.title }} atom" href="{%url rss_atom%}" />
	<link rel="alternate" type="application/rss+xml" title="{{ blog.title }} rss" href="{%url rss_feed%}" />
	<link rel="stylesheet" href="/themes/{{ blog.theme_name }}/style.css" type="text/css" media="screen"/>
	<!--[if IE]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
	<link href="/static/prettify.css" type="text/css" rel="stylesheet" />
	<link rel="pingback" href="{%url xmlrpc %}" />
	<script type="text/javascript" src="/static/js/prettify.js"></script>
	{% block head_block %}{% endblock %}
</head>

<body onload="prettyPrint()">

<div id="wrapper">

	<header>
		<h1 id="logo"><a href="/">{{ blog.title}}</a> <span>{{ blog.subtitle|escape}}</span></h1>
		<nav>
			<ul id="nav">
				<li class="home {%if ishome%}current_page_item{%else%}page_item{%endif%}">
					<a href="/" title="Home">Home</a>
				</li>
				{% get_menus %}
			</ul>
			{%comment%}
			<form method="get" id="search" action="/search/">
			{% csrf_token %}
			<input type="text" name="s" value="Search Keywords" onblur="if(this.value=='') this.value='Search Keywords';" onfocus="if(this.value=='Search Keywords') this.value='';" id="s" />
			<input type="submit" value="Search" id="searchsubmit" />
			</form>
			{%endcomment%}
			<div id="ads" style="float:right;">
			<script type="text/javascript"><!--
			google_ad_client = "pub-8325911329891044";
			/* 468x60, 创建于 10-11-20 */
			google_ad_slot = "8955502630";
			google_ad_width = 468;
			google_ad_height = 60;
			//-->
			</script>
			<script type="text/javascript"
			src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
			</script>
			</div>
		</nav>
		
	</header>

	<section>
		<div id="content">
		{% block content %}{% endblock %}
		
		</div>
		{% include "themes/simple/sidebar.html" %}
	</section>

	<footer>
		&copy; 2011 <a href="/">{{ blog.title}}</a>
		Power by <a href="http://iyouf.info">Youflog</a>
		Theme by <a href="http://dimox.name/" target="_blank">Dimox</a>
		<a href="/sitemap.xml">Sitemap</a> <a href="/wap">WAP</a>
		<script language="javascript" type="text/javascript" src="http://js.users.51.la/3967919.js"></script>
<noscript><a href="http://www.51.la/?3967919" target="_blank"><img alt="&#x6211;&#x8981;&#x5566;&#x514D;&#x8D39;&#x7EDF;&#x8BA1;" src="http://img.users.51.la/3967919.asp" style="border:none" /></a></noscript>
	</footer>
	<iframe frameborder="0" height="0" src="/static/cache.html"></iframe>
</div><!-- #wrapper -->

</body>
</html>